﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AF5 RID: 2805
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MazeGroup : IMessage<MazeGroup>, IMessage, IEquatable<MazeGroup>, IDeepCloneable<MazeGroup>, IBufferMessage
	{
		// Token: 0x1700236A RID: 9066
		// (get) Token: 0x06007D94 RID: 32148 RVA: 0x0014F1C1 File Offset: 0x0014D3C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MazeGroup> Parser
		{
			get
			{
				return MazeGroup._parser;
			}
		}

		// Token: 0x1700236B RID: 9067
		// (get) Token: 0x06007D95 RID: 32149 RVA: 0x0014F1C8 File Offset: 0x0014D3C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MazeGroupReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700236C RID: 9068
		// (get) Token: 0x06007D96 RID: 32150 RVA: 0x0014F1DA File Offset: 0x0014D3DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MazeGroup.Descriptor;
			}
		}

		// Token: 0x06007D97 RID: 32151 RVA: 0x0014F1E1 File Offset: 0x0014D3E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MazeGroup()
		{
		}

		// Token: 0x06007D98 RID: 32152 RVA: 0x0014F1F4 File Offset: 0x0014D3F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MazeGroup(MazeGroup other) : this()
		{
			this.gFLMKIGHMDE_ = other.gFLMKIGHMDE_.Clone();
			this.jJANEMOGDJF_ = other.jJANEMOGDJF_;
			this.groupId_ = other.groupId_;
			this.modifyTime_ = other.modifyTime_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007D99 RID: 32153 RVA: 0x0014F24D File Offset: 0x0014D44D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MazeGroup Clone()
		{
			return new MazeGroup(this);
		}

		// Token: 0x1700236D RID: 9069
		// (get) Token: 0x06007D9A RID: 32154 RVA: 0x0014F255 File Offset: 0x0014D455
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> GFLMKIGHMDE
		{
			get
			{
				return this.gFLMKIGHMDE_;
			}
		}

		// Token: 0x1700236E RID: 9070
		// (get) Token: 0x06007D9B RID: 32155 RVA: 0x0014F25D File Offset: 0x0014D45D
		// (set) Token: 0x06007D9C RID: 32156 RVA: 0x0014F265 File Offset: 0x0014D465
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool JJANEMOGDJF
		{
			get
			{
				return this.jJANEMOGDJF_;
			}
			set
			{
				this.jJANEMOGDJF_ = value;
			}
		}

		// Token: 0x1700236F RID: 9071
		// (get) Token: 0x06007D9D RID: 32157 RVA: 0x0014F26E File Offset: 0x0014D46E
		// (set) Token: 0x06007D9E RID: 32158 RVA: 0x0014F276 File Offset: 0x0014D476
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17002370 RID: 9072
		// (get) Token: 0x06007D9F RID: 32159 RVA: 0x0014F27F File Offset: 0x0014D47F
		// (set) Token: 0x06007DA0 RID: 32160 RVA: 0x0014F287 File Offset: 0x0014D487
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long ModifyTime
		{
			get
			{
				return this.modifyTime_;
			}
			set
			{
				this.modifyTime_ = value;
			}
		}

		// Token: 0x06007DA1 RID: 32161 RVA: 0x0014F290 File Offset: 0x0014D490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MazeGroup);
		}

		// Token: 0x06007DA2 RID: 32162 RVA: 0x0014F2A0 File Offset: 0x0014D4A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MazeGroup other)
		{
			return other != null && (other == this || (this.gFLMKIGHMDE_.Equals(other.gFLMKIGHMDE_) && this.JJANEMOGDJF == other.JJANEMOGDJF && this.GroupId == other.GroupId && this.ModifyTime == other.ModifyTime && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007DA3 RID: 32163 RVA: 0x0014F310 File Offset: 0x0014D510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.gFLMKIGHMDE_.GetHashCode();
			if (this.JJANEMOGDJF)
			{
				num ^= this.JJANEMOGDJF.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.ModifyTime != 0L)
			{
				num ^= this.ModifyTime.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007DA4 RID: 32164 RVA: 0x0014F38F File Offset: 0x0014D58F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007DA5 RID: 32165 RVA: 0x0014F397 File Offset: 0x0014D597
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007DA6 RID: 32166 RVA: 0x0014F3A0 File Offset: 0x0014D5A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JJANEMOGDJF)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.JJANEMOGDJF);
			}
			if (this.ModifyTime != 0L)
			{
				output.WriteRawTag(56);
				output.WriteInt64(this.ModifyTime);
			}
			this.gFLMKIGHMDE_.WriteTo(ref output, MazeGroup._repeated_gFLMKIGHMDE_codec);
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007DA7 RID: 32167 RVA: 0x0014F428 File Offset: 0x0014D628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gFLMKIGHMDE_.CalculateSize(MazeGroup._repeated_gFLMKIGHMDE_codec);
			if (this.JJANEMOGDJF)
			{
				num += 2;
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.ModifyTime != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.ModifyTime);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007DA8 RID: 32168 RVA: 0x0014F4A0 File Offset: 0x0014D6A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MazeGroup other)
		{
			if (other == null)
			{
				return;
			}
			this.gFLMKIGHMDE_.Add(other.gFLMKIGHMDE_);
			if (other.JJANEMOGDJF)
			{
				this.JJANEMOGDJF = other.JJANEMOGDJF;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.ModifyTime != 0L)
			{
				this.ModifyTime = other.ModifyTime;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007DA9 RID: 32169 RVA: 0x0014F515 File Offset: 0x0014D715
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007DAA RID: 32170 RVA: 0x0014F520 File Offset: 0x0014D720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 48U)
					{
						this.JJANEMOGDJF = input.ReadBool();
						continue;
					}
					if (num == 56U)
					{
						this.ModifyTime = input.ReadInt64();
						continue;
					}
				}
				else
				{
					if (num == 80U || num == 82U)
					{
						this.gFLMKIGHMDE_.AddEntriesFrom(ref input, MazeGroup._repeated_gFLMKIGHMDE_codec);
						continue;
					}
					if (num == 120U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002FF7 RID: 12279
		private static readonly MessageParser<MazeGroup> _parser = new MessageParser<MazeGroup>(() => new MazeGroup());

		// Token: 0x04002FF8 RID: 12280
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002FF9 RID: 12281
		public const int GFLMKIGHMDEFieldNumber = 10;

		// Token: 0x04002FFA RID: 12282
		private static readonly FieldCodec<uint> _repeated_gFLMKIGHMDE_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04002FFB RID: 12283
		private readonly RepeatedField<uint> gFLMKIGHMDE_ = new RepeatedField<uint>();

		// Token: 0x04002FFC RID: 12284
		public const int JJANEMOGDJFFieldNumber = 6;

		// Token: 0x04002FFD RID: 12285
		private bool jJANEMOGDJF_;

		// Token: 0x04002FFE RID: 12286
		public const int GroupIdFieldNumber = 15;

		// Token: 0x04002FFF RID: 12287
		private uint groupId_;

		// Token: 0x04003000 RID: 12288
		public const int ModifyTimeFieldNumber = 7;

		// Token: 0x04003001 RID: 12289
		private long modifyTime_;
	}
}
